#ifndef MENU_H
#define MENU_H

#include <iostream>
#include <vector>
#include <sstream>
#include "Action.h"
using namespace std;

enum e_state{
	nothing,
	recordNewExpense,
	recordNewIncome,
	recordNewLoan,
	recordNewWish,
	readExpense,
	readIncome,
	readLoan,
	readWish,
	Undo,
	showReport,
	importReport,
	changeUser,
	exit_app
};

enum e_dateRange{
	daily,
	monthly,
	dDateRange
};

//@author U095387X
class Menu{

private:
	vector<int> _menuList;
	e_category _mCategory;
	e_method _mMethod;
	e_dateRange _mDateRange;

public:
	void inputMenu(int nextLayer);
	void backHome();
	void previousPage();
	string menuString();
	e_state menuState();
	e_category getGlobalCategory();
	e_method getGlobalMethod();
	e_dateRange getGlobalDateRange();
};

#endif
